-
-
Notifications
You must be signed in to change notification settings - Fork 787
Adjusted regex to properly handle Windows paths #8518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Maybe adding something like
to Directory.Build.Props would also be an option. This would make the entire StackTraceHelper obsolete and all stack traces deterministic. The output of FilterInputType_Should_ThrowException_WhenNoConventionIsRegisteredDefault with that setting is:
I can provide a PR if requested |
Hey @N-Olbert 👋
|
Hey @glen-84 Indeed, the regex can be simplified. Anyway, the more I think about it, there might be some pretty obscure, highly theoretical cases where probably no regex will handle everything correctly (e.g., on Unix one could name a file Anyways, I think switching to Regarding PathMap, I agree. A quick search showed that some projects use this - the biggest seems to be velopack - but that is not really an indicator. As there is no need for the change, we can just leave this as is. That beeing said, I dont think it will change something fundamental as the (real) paths of the build server most likely also don`t exist on the executing computer. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8518 +/- ##
============================
============================
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Thanks @N-Olbert |
Summary of the changes (Less than 80 chars)
Closes #8517